package com.itheima.service;

import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface AccountService {

    @Transactional(readOnly = false)
    void transfer(Integer outId, Integer inId, Double money);
}


/*<tx:advice id="txAdvice" transaction-manager="transactionManager">
        <tx:attributes>
            <tx:method name="*" read-only="false"/>
        </tx:attributes>
    </tx:advice>*/